package com.csun.dsms.mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface ExcelHeaderMapper {

    @Select("SELECT COLUMN_NAME, COLUMN_COMMENT FROM information_schema.columns\n" +
            "WHERE TABLE_SCHEMA = #{dbName} AND TABLE_NAME = #{tableName}")
    List<Map<String, String>> queryTableComment(String dbName,String tableName);

}
